<template>
  <h1>TestHooks</h1>
  <div>
    <h2>{{ nowTime }}</h2>
  </div>
</template>

<script>
import {
  nowTime,
  updateNowTime,
} from './hooks/useNowTime'
import {onMounted} from 'vue'

export default {
  name: "TestHooks",
  setup() {
    onMounted(() => {
      updateNowTime()
    })

    return {
      nowTime,
      updateNowTime
    }
  }
}
</script>

<style scoped>

</style>
